/*
 * @Description: 
 * @Author: 葛玉根
 * @Date: 2021-03-06 20:26:55
 * @LastEditTime: 2021-03-07 19:31:49
 * @LastEditors: 葛玉根
 */
import { request } from 'umi'

export const classRoomDataApi = () => {
    return request('/manger/room', { method: 'GET' })
}

export const deleclassRoomDataApi = (data: string) => {
    return request('/manger/room/delete', { method: 'DELETE', data})
}
export const addclassRoomDataApi = (data: string) => {
    return request('/manger/room', { method: 'POST', data })
}